package com.yloveg.dao;

import java.util.List;
import java.util.Map;

import com.yloveg.entity.SRole;

public interface SRoleMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SRole record);

    int insertSelective(SRole record);

    SRole selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SRole record);

    int updateByPrimaryKey(SRole record);
    
    List<SRole> querySRole(SRole record);
    
    List<Map<String,Object>> queryUserMsgMap(SRole record);
}